package com.heima.article;

import com.heima.article.service.ApArticleService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @作者 itcast
 * @创建日期 2021/9/26 10:25
 **/
@SpringBootTest
@RunWith(SpringRunner.class)
public class PublishArticle {


    @Autowired
    ApArticleService apArticleService;

    @Test
    public void publish(){
        apArticleService.publishArticle(6270);
    }

}
